#include"SqList.h"
int main()
{
	SL s;
	SLInit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);
	SLPushFront(&s, 5);
	SLPrint(s);
	SLPopBack(&s);
	SLPrint(s);
	SLPopFront(&s);
	SLPrint(s);
	SLPushPos(&s,s.size, 99);
	SLPrint(s);
	SLPopPos(&s,s.size-1);
	SLPopPos(&s,1);
	SLPrint(s);
	SLDestroy(&s);
	return 0;
}